package com.jin.webvideo.videoCache.policy.operation;

public class OperationUtil {
    public static boolean isInt(Object obj){
        Class clazz = obj.getClass();
        return Integer.class.isAssignableFrom(clazz) || int.class.isAssignableFrom(clazz);
    }
    public static boolean isStr(Object obj){
        Class clazz = obj.getClass();
        return String.class.isAssignableFrom(clazz);
    }
    public static boolean isBool(Object obj){
        Class clazz = obj.getClass();
        return Boolean.class.isAssignableFrom(clazz) || boolean.class.isAssignableFrom(clazz);
    }
}
